page {
  // 
  .page {
    --nav-bar-background-color: #ffffff;
    --nav-bar-icon-color: #1a1a1a;
    --nav-bar-bottom-border-color: #ebedf0;

    --background-color: #ffffff;
    --text-color: #333333;
    --content-color: #666666;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
    background-color: var(--background-color);

    &--video {
      --nav-bar-background-color: #010101;
      --nav-bar-icon-color: #e6e6e6;
      --nav-bar-bottom-border-color: #010101;
      --background-color: #010101;
      --text-color: #ffffff;
      --content-color: #b3b3b3;
    }

    .nav-bar {
      &.van-hairline--bottom::after {
        border-bottom-color: var(--nav-bar-bottom-border-color) !important;
      }
      .van-nav-bar__title {
        margin: 0 auto 0 44px;
        .title {
          width: 100%;

          display: grid;
          grid-template-columns: min-content 1fr;
          align-items: center;
          column-gap: 5px;

          &__avatar {
            box-sizing: border-box;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            overflow: hidden;
          }

          &__name {
            width: 100%;

            text-align: start;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            font-size: 14px;
            color: var(--text-color);
          }
        }
      }
    }

    .video-container {
      width: 100vw;
      min-height: 106.6667vw;

      padding: 30px 0;
      position: relative;
      display: flex;
      align-items: center;

      margin-bottom: 30px;

      .video {
        width: 100%;
      }

      .mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);

        display: flex;
        align-items: center;
        justify-content: center;

        &--hidden {
          animation: mask-hidden 0.3s ease forwards;
          @keyframes mask-hidden {
            99% {
              top: 0;
              opacity: 0;
              transform: scale(10);
            }

            100% {
              top: -100vh;
              opacity: 0;
              transform: scale(1);
            }
          }
        }

        .play-btn {
          width: 40px;
          height: 40px;
        }
      }

      .tip {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);

        border: 1px solid rgba($color: #ffffff, $alpha: 0.2);
        border-radius: 17px;

        padding: 8px 12px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;

        .tip__icon {
          width: 14px;
          height: 14px;
        }

        .tip__text {
          margin-left: 4px;
          font-size: 10px;
        }
      }
    }

    .swiper-container {
      position: relative;

      .image-swiper {
        width: 100vw;
        height: calc(133.33vw + 44px);

        &__item {
          width: 100vw;
          height: 133.3333vw;
        }
      }

      .indicator {
        box-sizing: content-box;
        position: absolute;
        top: 20px;
        right: 12px;
        z-index: 10;

        height: 21px;
        background: rgba($color: #010101, $alpha: 0.8);
        border-radius: 33px;

        padding: 0 8px;
        display: flex;
        align-items: center;

        .indicator__text {
          font-size: 12px;
          line-height: 17px;
          color: #fff;
        }
      }
    }

    .title {
      align-self: center;
      width: calc(100vw - 32px);
      color: var(--text-color);
    }

    .content {
      margin-top: 8px;
      align-self: center;
      width: calc(100vw - 32px);
      color: var(--content-color);
    }

    .bottom-bar {
      width: 100vw;
      position: fixed;
      bottom: 0;
      z-index: 10;

      background-color: #fff;

      padding: 14px;
      padding-bottom: var(--safe-area-inset-bottom);
      display: grid;
      grid-template-columns: 1fr min-content min-content;
      align-items: center;
      column-gap: 13px;

      .item {
        display: flex;
        align-items: center;
        white-space: nowrap;
        &__icon {
          width: 24px;
          height: 24px;
        }

        &__text {
          margin-left: 6px;
          font-size: 16px;
          color: #333;
        }
      }
    }
  }
}
